home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / misc / sana2.lzh / sana2 / include / devices / sana2specialstats.h < prev    next >
C/C++ Source or Header  |  1991-11-18  |  1KB  |  49 lines

  1. #ifndef SANA2_SANA2SPECIALSTATS_H
  2. #define SANA2_SANA2SPECIALSTATS_H 1
  3. /*
  4. **    $Id: sana2specialstats.h,v 1.2 91/10/17 12:59:47 dlarson Exp $
  5. **
  6. **    Defined ids for SANA-II special statistics.
  7. **
  8. **
  9. **    (C) Copyright 1991 Commodore-Amiga Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13.  
  14. #ifndef SANA2_SANA2DEVICE_H
  15. #include <sana2/sana2device.h>
  16. #endif    /* !SANA2_SANA2DEVICE_H */
  17.  
  18.  
  19. /*
  20. ** The SANA-II special statistic identifier is an unsigned 32 number.
  21. ** The upper 16 bits identify the type of network wire type to which
  22. ** the statistic applies and the lower 16 bits identify the particular
  23. ** statistic.
  24. **
  25. ** If you desire to add a new statistic identifier, contacts CATS.
  26. */
  27.  
  28.  
  29.  
  30. /*
  31. ** defined ethernet special statistics
  32. */
  33.  
  34. #define S2SS_ETHERNET_BADMULTICAST    ((((S2WireType_Ethernet)&0xffff)<<16)|0x0000)
  35. /*
  36. ** This count will record the number of times a received packet tripped
  37. ** the hardware's multicast filtering mechanism but was not actually in
  38. ** the current multicast table.
  39. */
  40.  
  41. #define S2SS_ETHERNET_RETRIES        ((((S2WireType_Ethernet)&0xffff)<<16)|0x0001)
  42. /*
  43. ** This count records the total number of retries which have resulted
  44. ** from transmissions on this board.
  45. */
  46.  
  47.  
  48. #endif    /* SANA2_SANA2SPECIALSTATS_H */
  49.